package com.keba.lamp.ai.vo.result;

import cn.hutool.core.map.MapUtil;
import com.keba.basic.base.entity.Entity;
import com.keba.basic.interfaces.echo.EchoVO;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单查询方法返回值VO
 * apikey管理
 * </p>
 *
 * @author twg
 * @date 2025-03-02 19:15:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@Schema(description = "apikey管理")
public class AiApiKeyResultVO extends Entity<Long> implements Serializable, EchoVO {

    private static final long serialVersionUID = 1L;

    private Map<String, Object> echoMap = MapUtil.newHashMap();

    @Schema(description = "主键")
    private Long id;

    /**
    * 乐观锁
    */
    @Schema(description = "乐观锁")
    private Integer revision;
    /**
    * 是否删除，0-未删除，1-删除
    */
    @Schema(description = "是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
    * 密钥
    */
    @Schema(description = "密钥")
    private String apiKey;
    /**
    * 名称
    */
    @Schema(description = "名称")
    private String name;
    /**
    * 客户id
    */
    @Schema(description = "客户id")
    private Long customerId;



}
